package com.dfbz.pojo;

public class Result {

    private Boolean flag;

    private Integer statuCode;

    private String message;

    private Object data;

    public Result() {
    }

    public Result(Integer statuCode) {
        this.statuCode = statuCode;
    }

    public Result(Integer statuCode, Object data) {
        this.statuCode = statuCode;
        this.data = data;
    }

    public Result(Boolean flag, Integer statuCode, Object data) {
        this.flag = flag;
        this.statuCode = statuCode;
        this.data = data;
    }

    public Result(Boolean flag, Integer statuCode, String message) {
        this.flag = flag;
        this.statuCode = statuCode;
        this.message = message;
    }

    public Result(Boolean flag, Integer statuCode, String message, Object data) {
        this.flag = flag;
        this.statuCode = statuCode;
        this.message = message;
        this.data = data;
    }


    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public Integer getStatuCode() {
        return statuCode;
    }

    public void setStatuCode(Integer statuCode) {
        this.statuCode = statuCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
